#include "GatewayTimeTick.h"
#include "GatewayTaskManager.h"
#include "GatewayServer.h"

void GatewayTimeTick::run()
{
	while ( isAlive() )
	{
		Thread::msleep(50);
		GatewayServer::getInstance()->doCmd();
		GatewayTaskManager::getInstance()->doCmd();
	}
}
